module.exports.getValidationRules = function(validationRulesName){
	
	var validationRules = {};
	
	validationRules['none'] = {};
	
	//VALIDATION RULES SET IN CONTROLLER
	validationRules["users"] = {username : "required", password : "required", email : "required" , firstname : "required", middlename : "required", lastname: "required", status: "required"};
	
	validationRules["bid-pack"] = {order_reference : "required"};
	
	validationRules["company"] = {name : "required", address : "required", contact_number : "required", contact_person : "required", ip : "required"};
	
	validationRules["branch"] = {name : "required", address : "required", contact_number : "required", contact_person : "required", ip : "required"};
	
	validationRules["module"] = {label : "required", controller : "required", description : "required", ordering : "required"};
	
	validationRules["settings"] = {url : "required", name : "required"};
	/*other rules here*/
	
	
	
	/*handle accessing non-existing validation rules*/
	if(typeof validationRules[validationRulesName] === "undefined" ){
		console.log("NO VALIDATION RULES FOR " + validationRulesName);
	}
	
	return validationRules[validationRulesName];
}